package com.rtu.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.rtu.domain.WPProject;
import com.rtu.dto.QueryProjectDto;

@Repository
public interface IWPProjectDao {
	
    List<WPProject> query(QueryProjectDto dto);

    Integer count();

    WPProject queryById(Integer projectId);
    
    int updateProject(WPProject project);
    
    int insertProject(WPProject project);
    
    int updateImage(WPProject project);
    
    List<WPProject> queryAllProject();
}
